home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel 68k / lib_test / test_inspect2.e < prev    next >
Encoding:
Text File  |  1996-06-13  |  438 b   |  22 lines  |  [TEXT/EDIT]

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class TEST_INSPECT2
  5.  
  6. creation make
  7.  
  8. feature 
  9.    
  10.    make is
  11.       do
  12.          inspect
  13.         1
  14.          when 2 then io.put_string("Impossible%N")
  15.          when 3 then io.put_string("Impossible aussi%N")
  16.      else
  17.          end   
  18.      -- io.put_string("Maintenant, je souris :-)%N");
  19.       end; 
  20.    
  21. end -- TEST_INSPECT2
  22.